package okhttp3;

import com.ss.ttvideoengine.c.HttpRequest;
import com.ss.ttvideoengine.d.TTVideoError;

import java.io.IOException;

public final class Callback {
  protected final HttpRequest.Callback mCallback;

  public Callback(HttpRequest.Callback callback) {
    this.mCallback = callback;
  }

  public final void onFailure(IOException ioException) {
    this.mCallback.callback(null, new TTVideoError("", -9994, ioException.toString()));
  }
}

